export default {
    data(){
        return{
            cc:"111"
        }
    },
    methods: {
        tableDelAction(success,content='是否删除该条数据?',title='提示'){
            this.$confirm(content, title, {
                confirmButtonText: '确定',
                cancelButtonText: '取消',
                type: 'warning'
            }).then(() => {
                console.log(this.cc);
                success?success():false;                                   
            }).catch(() => {
                this.$message({
                    type: 'info',
                    message: '已取消删除'
                });          
            });
        }
    }

}